package com.yanqu.road.entity.activity.harps;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_activity_harps_reward")
public class HarpsRewardInfo extends DataObject {
    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true, isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家ID", select = true, update = true, isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "奖励ID", update = true, isIndex = true)
    private int id;

    @FieldTypeAnnotation(desc = "奖励编号,自选层才有", update = true, isIndex = true)
    private int no;

    @FieldTypeAnnotation(desc = "层数")
    private int floor;

    @FieldTypeAnnotation(desc = "位置")
    private int seat;

    @FieldTypeAnnotation(desc = "气泡颜色")
    private int color;

    @FieldTypeAnnotation(desc = "剩余可选次数")
    private long remainChooseNum;

    @FieldTypeAnnotation(desc = "解锁剩余次数")
    private long remainUnlockNum;

    @FieldTypeAnnotation(desc = "是否被抽取")
    private boolean isGetReward;

    @FieldTypeAnnotation(desc = "是否当前被选中奖励")
    private boolean isCurChoose;

    public int getActivityId() {
        return activityId;
    }
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        if (this.id != id) {
            this.id = id;
            setOp(DataStatus.Update);
        }
    }

    public int getNo() {
        return no;
    }
    public void setNo(int no) {
        if (this.no != no) {
            this.no = no;
            setOp(DataStatus.Update);
        }
    }

    public int getFloor() {
        return floor;
    }
    public void setFloor(int floor) {
        if (this.floor != floor) {
            this.floor = floor;
            setOp(DataStatus.Update);
        }
    }

    public int getSeat() {
        return seat;
    }
    public void setSeat(int seat) {
        if (this.seat != seat) {
            this.seat = seat;
            setOp(DataStatus.Update);
        }
    }

    public int getColor() {
        return color;
    }
    public void setColor(int color) {
        if (this.color != color) {
            this.color = color;
            setOp(DataStatus.Update);
        }
    }

    public long getRemainChooseNum() {
        return remainChooseNum;
    }
    public void setRemainChooseNum(long remainChooseNum) {
        if (this.remainChooseNum != remainChooseNum) {
            this.remainChooseNum = remainChooseNum;
            setOp(DataStatus.Update);
        }
    }

    public long getRemainUnlockNum() {
        return remainUnlockNum;
    }
    public void setRemainUnlockNum(long remainUnlockNum) {
        if (this.remainUnlockNum != remainUnlockNum) {
            this.remainUnlockNum = remainUnlockNum;
            setOp(DataStatus.Update);
        }
    }

    public boolean getIsGetReward() {
        return isGetReward;
    }
    public void setIsGetReward(boolean isGetReward) {
        if (this.isGetReward != isGetReward) {
            this.isGetReward = isGetReward;
            setOp(DataStatus.Update);
        }
    }

    public boolean getIsCurChoose() {
        return isCurChoose;
    }
    public void setIsCurChoose(boolean isCurChoose) {
        if (this.isCurChoose != isCurChoose) {
            this.isCurChoose = isCurChoose;
            setOp(DataStatus.Update);
        }
    }
}
